#{extends 'main.html' /} <h2> System Task Types/Statuses</h2>
<hr/><h3>Task Types</h3>
<b style="color:Red"> Always Creates System Types </b>
#{form @TaskTypes.changeTaskTypeName()}
<menu>
    #{list items:taskTypes, as:'taskType'}
    <li type="disc">
    <a href="tasktype/${taskType.getEntityId()}">${taskType.type}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:showDialogHelper('Confirmation','Are you sure you want to delete?',true,'@{TaskTypes.renderDeleteTaskType(taskType.getEntityId(),true)}','prompt');">Delete </a>
    #{/list}
</menu>
<br>
#{/form}
#{form @TaskTypes.renderCreateTaskType(1,name,true), id:'createTypeForm'}<input class="validate[required]" type="text" name="name" id="name"/><input type="submit" value="Create"/> #{/form}<hr/><h3>Task Statuses</h3>
<b style="color:Red"> Always Creates System Statuses </b>
<menu>
    #{list items:taskStatuses, as:'taskStatus'}
    <li type="disc">
    <a href="taskstatus/${taskStatus.getEntityId()}">${taskStatus.status}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:showDialogHelper('Confirmation','Are you sure you want to delete?',true,'@{Tasks.renderDeleteTaskStatus(taskStatus.getEntityId(),true)}','prompt');">Delete </a>
    #{/list}
</menu>
<br>
#{form @Tasks.renderCreateTaskStatus(1,name,true), id:'createStatusForm'}<input class="validate[required]" type="text" name="name" id="name"/><input type="submit" value="Create"/> #{/form}